﻿<%@ Page Title="Setare costuri convorbire" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="SetCosts.aspx.cs" Inherits="Admin_SetCosts" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
<div id="navcontainer">
        <ul id="navlist">
        <li><a href="Default.aspx">Raport apeluri</a></li>
        <li><a href="RaportIncasari.aspx">Raport încasări</a></li>
        <li id="active"><a id="current" href="SetCosts.aspx">Setare costuri</a></li>
        </ul>
    </div>
   <br/>
    <h3>
        Setare costuri convorbire:</h3>
        <br />
    <asp:Label ID="lblMessage" runat="server" Text="Costul a fost salvat."></asp:Label>
    <table>
        <tr>
            <td>
                Tara:
            </td>
            <td>
                <asp:DropDownList ID="ddlCountry" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCountry_SelectedIndexChanged">
                    <asp:ListItem Text="Romania" Value="RO"></asp:ListItem>
                    <asp:ListItem Text="Ungaria" Value="HU"></asp:ListItem>
                    <asp:ListItem Text="Marea Britanie" Value="GB"></asp:ListItem>
                    <asp:ListItem Text="Franta" Value="F"></asp:ListItem>
                    <asp:ListItem Text="Polonia" Value="PL"></asp:ListItem>
                    <asp:ListItem Text="Elvetia" Value="Elvetia"></asp:ListItem>
                    <asp:ListItem Text="Olanda" Value="Olanda"></asp:ListItem>
                    <asp:ListItem Text="Spania" Value="Spania"></asp:ListItem>
                    <asp:ListItem Text="Portugalia" Value="Portugalia"></asp:ListItem>
                    <asp:ListItem Text="SUA" Value="SUA"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Cost/minut:
            </td>
            <td>
                <asp:TextBox ID="txtCost" runat="server" Width="120"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btnSave" runat="server" Text="Salveaza" OnClick="btnSave_Click" />
            </td>
        </tr>
    </table>

    <br />
    <h4>Lista tarife</h4>
    <asp:GridView ID="gvCosturi" runat="server" CellPadding="4" 
            ForeColor="#333333" AutoGenerateColumns="false">
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
            <Columns>
                <asp:BoundField  HeaderText="Ţară" DataField="Country"/>
                <asp:BoundField  HeaderText="Cost pe minut" DataField="CPM"/>
            </Columns>
    </asp:GridView>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="OutOfForm" runat="Server">
</asp:Content>
